package cc.wenshixin.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * 客户实体类
 * @author 魏志文
 * @param id 序号
 * @param name 姓名
 * @param level 级别
 * @param source 来源
 * @param phone 移动电话
 * @param mobile 固定电话
 * @param setLinkMan 所有联系人
 * @param setVisit 客户拜访记录
 */
public class Customer {
	private Integer id;
	private String name;
//	private String level;
	private String source;
	private String phone;
	private String mobile;
	private Set<LinkMan> setLinkMan = new HashSet<LinkMan>();
	private Set<Visit> setVisit = new HashSet<Visit>();
	private Level level;
	
	public Level getLevel() {
		return level;
	}
	public void setLevel(Level level) {
		this.level = level;
	}
	public Set<LinkMan> getSetLinkMan() {
		return setLinkMan;
	}
	public void setSetLinkMan(Set<LinkMan> setLinkMan) {
		this.setLinkMan = setLinkMan;
	}
	public Set<Visit> getSetVisit() {
		return setVisit;
	}
	public void setSetVisit(Set<Visit> setVisit) {
		this.setVisit = setVisit;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	/*public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}*/
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
}
